package com.css.zfzx.fxpg.modules.rescue.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author leon
 * @date 2020-12-02
 */
@Data
public class FxRescueVO implements Serializable, IExcelDataModel, IExcelModel {
    @NotNull(message = "缺失")
    @Excel(name = "市县名称", width = 15)
    private String cityCountyName;

    @NotNull(message = "缺失")
    @Excel(name = "抽样调查点", width = 15)
    private String surveySpotName;

    @NotNull(message = "缺失")
    @Excel(name = "省", width = 15)
    private String province;

    @NotNull(message = "缺失")
    @Excel(name = "市", width = 15)
    private String city;

    @NotNull(message = "缺失")
    @Excel(name = "区/县", width = 15)
    private String area;

    @NotNull(message = "缺失")
    @Excel(name = "帐篷", width = 15)
    private String tent;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "棉被", width = 15)
    private String quilt;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "棉服", width = 15)
    private String cottonClothes;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "食品", width = 15)
    private String food;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "饮水", width = 15)
    private String water;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "担架", width = 15)
    private String stretcher;

    @Column(name = "quilt")
    @NotNull(message = "缺失")
    @Excel(name = "救援装备", width = 15)
    private String rescueEquipment;

    @Excel(name = "消防", width = 15)
    private String fireControl;

    @Excel(name = "军队", width = 15)
    private String army;

    @Excel(name = "志愿者", width = 15)
    private String volunteer;

    @Excel(name = "其他-应急救援力量", width = 20)
    private String otherRescue;

    @Excel(name = "避难场所建设-个数", width = 20)
    private Integer shelterNum;

    @Excel(name = "避难场所建设-面积", width = 20)
    private Double shelterArea;

    @Excel(name = "避难场所建设-容纳人数", width = 25)
    private Integer shelterContainPopulation;

    @Excel(name = "医疗救护情况", width = 15)
    private String medicalCare;

    @Excel(name = "三网一员建设情况", width = 20)
    private String threeNetworkMergence;

    @Excel(name = "应急演练开展情况", width = 20)
    private String emergencyExercise;

    @Excel(name = "生命线应急保障情况", width = 20)
    private String lifelineEmergencySupport;

    @Excel(name = "次生灾害防范情况", width = 20)
    private String secondaryDisasterPrevention;

    @Excel(name = "是否有应急预案（是、否）", width = 25)
    private String isHasContingencyPlan;

    @Excel(name = "预案文件（是、否）", width = 20)
    private String isHasPlanFile;

    @Excel(name = "应急对策建议", width = 15)
    private String emergencyCountermeasureAdvice;


    private Integer rowNum;
    private String errorMsg;
}